﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Subtle.Domain.Models;

namespace Subtle.Domain.Services.Interfaces
{
	/// <summary>
	/// Blog Service Interface
	/// </summary>
	public interface IBlogService
	{
		/// <summary>
		/// Has Blogs
		/// </summary>
		bool HasBlogs { get; }

		/// <summary>
		/// Setup a Blog
		/// </summary>
		/// <param name="blog"></param>
		/// <returns>Returns true if the blog was created succesfully</returns>
		bool SetupBlog(Blog blog);

		/// <summary>
		/// Get Blog
		/// </summary>
		/// <param name="blogTitle"></param>
		/// <returns></returns>
		Blog GetBlog(string blogTitle);

		/// <summary>
		/// Get Default Blog
		/// </summary>
		/// <returns></returns>
		Models.Blog GetDefaultBlog();
	}
}
